package com.geek.entity;

public class ItemsQuery {
    private String name; // 商品名称（用于模糊查询）
    private Float minPrice; // 最低价格
    private Float maxPrice; // 最高价格

    public ItemsQuery() {
    }

    public ItemsQuery(String name, Float minPrice, Float maxPrice) {
        this.name = name;
        this.minPrice = minPrice;
        this.maxPrice = maxPrice;
    }

    /**
     * 获取
     * @return name
     */
    public String getName() {
        return name;
    }

    /**
     * 设置
     * @param name
     */
    public void setName(String name) {
        this.name = name;
    }

    /**
     * 获取
     * @return minPrice
     */
    public Float getMinPrice() {
        return minPrice;
    }

    /**
     * 设置
     * @param minPrice
     */
    public void setMinPrice(Float minPrice) {
        this.minPrice = minPrice;
    }

    /**
     * 获取
     * @return maxPrice
     */
    public Float getMaxPrice() {
        return maxPrice;
    }

    /**
     * 设置
     * @param maxPrice
     */
    public void setMaxPrice(Float maxPrice) {
        this.maxPrice = maxPrice;
    }

    public String toString() {
        return "ItemsQuery{name = " + name + ", minPrice = " + minPrice + ", maxPrice = " + maxPrice + "}";
    }
}